<template>
  <div class="counters">
    <div v-for="counter in counters" :key="counter.label" class="counter">
      <span class="counter-value">{{ counter.value }}</span>
      <span class="counter-label">{{ counter.label }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'UserCounters',
  props: ['counters']
};
</script>

<style scoped>
.counters {
  display: flex;
  justify-content: center;
  padding: 10px 5px;
  background: #FFF;
  margin: 25px; 
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 360px; 
  margin-left: auto;
  margin-right: auto;
}

.counter {
  text-align: center;
  flex: 0 0 auto;
  padding: 0 22px;
}

.counter-value {
  font-size: 24px;
  font-weight: bold;
  color: #4CAF50;
  display: block;
  margin-bottom: 5px;
}

.counter-label {
  font-size: 12px;
  color: #757575;
  display: block;
}
</style>